

package tk.mybatis.springboot.controller;

import java.util.List;

import com.github.pagehelper.PageInfo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

import tk.mybatis.springboot.dto.CommonResult;
import tk.mybatis.springboot.model.City;
import tk.mybatis.springboot.service.BaseService;
import tk.mybatis.springboot.service.CityService;

/**
 * @author jack
 * @since 2019-08-15 11:10
 */
@RestController
@RequestMapping("/cities")
public class CityController  extends BaseController <City>{

    @Autowired
    private CityService cityService;
    @Override
    public BaseService<City> getBaseService() {
        return cityService;
	}
    
    

  
}
